<?php
Class CountryField extends CountryDropdownField {
	protected $extraClasses = array(
		'selectpicker' => 'selectpicker'
	);
	
	protected function locale() {
		return i18n::get_locale();
	}
	
	function getAttributes() {
        return array_merge(
            parent::getAttributes(), array(
                'data-live-search' => 'true'
            )
        );
    }
	
	function Type() {
		return 'countrydropdown dropdown';
	}
}
?>